<?php
/* @var $this IptvprogramListController */
/* @var $model IptvprogramList */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>
<?php 
$categoryarr=array('1'=>'动作','2'=>'冒险','3'=>'喜剧','4'=>'爱情','5'=>'战争','6'=>'恐怖','7'=>'犯罪','8'=>'悬疑','9'=>'惊悚','10'=>'武侠','11'=>'科幻','12'=>'音乐','13'=>'歌舞','14'=>'动画','15'=>'奇幻','16'=>'家庭','17'=>'剧情','18'=>'伦理','19'=>'记录','20'=>'历史','21'=>'传记');
$countryarr=array('1'=>'大陆', '2'=>'香港', '3'=>'台湾', '4'=>'日本', '5'=>'韩国', '6'=>'美国', '7'=>'英国' ,'8'=>'其他');
?>
	

	<div class="row">
		<?php echo $form->label($model,'title'); ?>
		<?php echo $form->textField($model,'title',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'year'); ?>
		<?php echo $form->textField($model,'year'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'type_id'); ?>
		<?php echo $form->dropDownlist($model,'type_id',IptvprogramList::model()->getType());?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'category'); ?>
		<?php echo $form->dropDownlist($model,'category',$categoryarr); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'country'); ?>
		<?php echo $form->dropDownlist($model,'country',$countryarr); ?>
	</div>

	
	<div class="row buttons">
		<?php echo CHtml::submitButton(Yii::t('base', 'search')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->